import request from '@/utils/request'

// 查询学生签到列表
export function listStudentattendance(query) {
  return request({
    url: '/feedback/studentattendance/list',
    method: 'get',
    params: query
  })
}

// 查询学生签到详细
export function getStudentattendance(id) {
  return request({
    url: '/feedback/studentattendance/' + id,
    method: 'get'
  })
}

// 新增学生签到
export function addStudentattendance(data) {
  return request({
    url: '/feedback/studentattendance',
    method: 'post',
    data: data
  })
}

// 修改学生签到
export function updateStudentattendance(data) {
  return request({
    url: '/feedback/studentattendance',
    method: 'put',
    data: data
  })
}

// 删除学生签到
export function delStudentattendance(id) {
  return request({
    url: '/feedback/studentattendance/' + id,
    method: 'delete'
  })
}
